﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domainwj.结算管理
{
    /// <summary>
    /// 应收付费用管理
    /// </summary>
    public class ReceivableFeeManagement : ApprovalAuditableEntityBase
    {
        /// <summary>
        /// 应收费用Id
        /// </summary>
        [Key]
        
        public int Id { get; set; }
        /// <summary>
        /// 业务单号
        /// </summary>
        public string BusinessOrderNo {  get; set; }
        /// <summary>
        /// 货主单位
        /// </summary>
        public string ConsignorUnit {  get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string PaymentMethod {  get; set; }
        /// <summary>
        /// 吨位（立方米）
        /// </summary>
        public decimal Tonnage {  get; set; }
        /// <summary>
        /// 单价（元/立方米）
        /// </summary>
        public decimal UnitPrice {  get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime? BusinessDate {  get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string Handler {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes {  get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 审批编号
        /// </summary>
        public string ProcessDetailCode { get; set; }
        /// <summary>
        /// 应收或应付（0为应收1为应付）
        /// </summary>
        public bool PayFee { get; set; }
    }
}
